/**
 * 对象时间相关状态描述
 */
package org.onionframework.persistence.model.logic;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author allan
 *
 */
@Embeddable
public class Audit implements Serializable{

	private static final long serialVersionUID = 5838580659716472087L;
	private Date lastModified;		//最后修改时间
	private String lastModifyUser;	//最后修改人
	
	/**
	 * @return the lastModified
	 */
	public Date getLastModified() {
		return lastModified;
	}
	
	/**
	 * @param lastModified the lastModified to set
	 */
	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}
	
	/**
	 * @return the lastModifyUser
	 */
	@Column(length=50)
	public String getLastModifyUser() {
		return lastModifyUser;
	}
	
	/**
	 * @param lastModifyUser the lastModifyUser to set
	 */
	public void setLastModifyUser(String lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}
	
	
}
